# -*- coding: utf-8 -*-
import os
import subprocess

# files = os.popen("cmd")
# todo：方式1
# os.system('ipconfig')
# todo:方式2
# p = os.popen('ipconfig')
# print("p.read(): {}\n".format(p.read()))

# todo：方式3
for i in range(3):
     sub = subprocess.Popen('tcping -t 192.168.88.2', creationflags=subprocess.CREATE_NEW_CONSOLE)
